package com.ynet.middleground.user.bean;

import javax.validation.constraints.NotBlank;

import com.ynet.core.common.BaseReqObj;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author liulx
 * @description e签宝手机验证码、银行预留手机验证码校验请求对象
 * @date 2019-11-13 23:41
 */
@Data
@ApiModel(value = "e签宝手机验证码校验请求对象", description = "可用于e签宝手机验证码校验、银行预留手机号验证码校验")
public class CheckEsignVerificationCodeReq extends BaseReqObj {

    private static final long serialVersionUID = -6347427952382846516L;

    @ApiModelProperty(value = "认证流程Id", notes = "认证流程Id", required = true)
    @NotBlank(message = "认证流程Id不能为空")
    private String flowId;

    @ApiModelProperty(value = "用户收到的6位数值验证码", notes = "用户收到的6位数值验证码", required = true)
    @NotBlank(message = "验证码不能为空")
    private String authcode;

}
